﻿<%@ Page Language="C#" MasterPageFile="~/miscellaneous.master" AutoEventWireup="true" CodeFile="register.aspx.cs" Inherits="register" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<center>
<table>
<tr>
<th colspan="2">用户注册</th>
</tr>
<tr>
<td>
    用户ID：</td><td>
    <asp:TextBox ID="txtUID" runat="server" MaxLength="20"></asp:TextBox></td>
</tr>
<tr>
<td>密码：</td><td>
    <asp:TextBox ID="txtPwd" runat="server" MaxLength="16" TextMode="Password" Width="147px"></asp:TextBox></td>
</tr>
<tr>
<td>再输一次：</td><td>
    <asp:TextBox ID="txtPwd2" runat="server" MaxLength="16" TextMode="Password" Width="147px"></asp:TextBox></td>
</tr>


<tr>
<td>姓名：</td><td>
    <asp:TextBox ID="txtName" runat="server" MaxLength="30" Width="147px"></asp:TextBox></td>
</tr>
<tr>
<td>性别：</td><td align="left">
    <asp:RadioButton ID="male" GroupName="gender" Text="男" runat="server" />  <asp:RadioButton
        ID="female" Text="女" GroupName="gender" runat="server" />
    </td>
</tr>
<tr>
<td>E-mail：</td><td>
    <asp:TextBox ID="txtEmail" runat="server" MaxLength="20"></asp:TextBox></td>
</tr>
<tr>
<td>手机：</td><td>
    <asp:TextBox ID="txtMobile" runat="server" MaxLength="20"></asp:TextBox></td>
</tr>
<tr>
<td>
    出生日期：</td><td>
    <asp:TextBox ID="txtDOB" runat="server" MaxLength="10"></asp:TextBox></td>
</tr>
<tr>
<td><img src="img_chk.aspx" alt=""/></td><td>
    <asp:TextBox ID="txtChkCode" runat="server" MaxLength="6"></asp:TextBox></td>
</tr>
<tr>
<td colspan="2">
    <asp:Button ID="btnCommit" runat="server" Text="注  册" OnClick="btnCommit_Click" />  <asp:Button ID="btnRefresh"
        runat="server" Text="刷  新" /></td>
</tr>
</table>
<asp:Label ID="lblError" runat="server"></asp:Label>
</center>
    <center>
        &nbsp;</center>
    <center>
        &nbsp;</center>
    <center>
        <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="default.aspx">返回首页</asp:HyperLink>&nbsp;</center>
</asp:Content>

